const getTaskGroupList = 'taskGroup/getTaskGroupList'; //获取业务列表
const getTaskGroupValue = 'taskGroup/getTaskGroupValue'; //获取选择业务列表
const createTaskGroup = 'taskGroup/createTaskGroup'; //增加业务
const deleteTaskGroup = 'taskGroup/deleteTaskGroup'; //删除业务
const updateTaskGroup = 'taskGroup/updateTaskGroup'; //编辑业务名
const createTaskScene = "taskScene/createTaskScene"; //增加场景
const updateTaskScene = "taskScene/updateTaskScene"; //编辑场景信息
const getGroupScene = "taskScene/getGroupScene"; //获取场景列表
const getGroupOpenScene = "taskScene/getGroupOpenScene"; //获取场景列表
const getSceneByGroup = "taskScene/getSceneByGroup"; //
const updateSceneStatus = "taskScene/updateSceneStatus" //场景状态更新
    // 任务列表
    // admin/taskDefine/getTaskList
const getTaskList = "taskDefine/getTaskDefineList" // 获取任务列表
const createTaskDefine = "taskDefine/createTaskDefine" //创建任务
const updateTaskStatus = "taskDefine/changeOpenStatus" //更新任务状态
const getAllocateListByTask = "taskAllocate/getAllocateListByTask" //任务明细
const getAllocateInfo = "taskAllocate/getAllocateInfo" //获取任务详情
const importStoreExcel = "taskDefine/importStoreExcel" // 增加任务excel表格导入
const createTaskMedia = "taskMedia/createTaskMedia" // 添加任务材料
const taskMediaInfo = "taskMedia/taskMediaInfo" //获取任务材料列表
const allocateMediaInfo = "taskMedia/allocateMediaInfo" //获取任务材料列表
const deleteTaskMedia = "taskMedia/deleteTaskMedia" //删除任务材料
const updateTaskMedia = "taskMedia/updateTaskMedia" //编辑任务材料
const getTaskDefineInfo = "taskDefine/getTaskDefineInfo" //任务列表 点击编辑 获取任务详情
const updateTaskDefine = "taskDefine/updateTaskDefine" //任务列表 点击编辑 更改任务详情
const cancelTask = "taskAllocate/cancelTask" //任务详情列表 但是取消，改变子任务状态
const getWebTaskCustList = "taskAllocate/getWebTaskCustList" //获取目标会员
const getTaskCust = "taskAllocate/getTaskCust" //获取目标会员3期

const getCustFeedback = "feedback/getCustFeedback" //获取会员反馈
const baseUrl = process.env.NODE_ENV === 'production' ? 'https://bzhz.jnbygroup.com/api/gateway/task-center/' : 'https://testbzhz.jnbygroup.com/api/gateway/jic-task-api-center/'; //正式接口
// const baseUrl = "http://jictest.jnby.com:31368/task/jic-task-api-center/"; //测试接口
// const baseUrl = "http://172.18.101.223:9500/"; //本地接口
const uploadExecl = baseUrl + "taskDefine/";
const uploadDealerExecl = baseUrl + "taskDefine/importDealerExcel";
const uploadStoreExecl = baseUrl + "taskDefine/importStoreExcel";


const createTypeConfig = "/typeConfig/createTypeConfig" //创建配置任务
const updateTypeConfig = "/typeConfig/updateTypeConfig" //编辑配置任务
const updateConfigStatus = '/typeConfig/updateConfigStatus'
const getTypeConfigList = '/typeConfig/getTypeConfigList';

const getVoucherList = "jnby/getVoucherList"
const getWeChatTemplateList = '/jnby/getWeChatTemplateList'
const getWeChatGraphicMsgList = '/jnby/getWeChatGraphicMsgList'
const getPeopleList = "jnby/getPeopleList"
const getTaskObject = "taskDefine/getTaskObject"


// 任务3.0
const getRealTaskInfo = "taskDefine/getRealTaskInfo" //获取任务
const updateRealTask = "taskDefine/updateRealTask" //编辑任务
export default {
    getTaskObject,
    baseUrl,
    uploadExecl,
    uploadDealerExecl,
    uploadStoreExecl,
    allocateMediaInfo,
    getGroupOpenScene,
    getTaskGroupValue,
    getTaskGroupList,
    createTaskGroup,
    deleteTaskGroup,
    updateTaskGroup,
    createTaskScene,
    updateTaskScene,
    getSceneByGroup,
    getGroupScene,
    updateSceneStatus,
    //任务列表
    getTaskList,
    createTaskDefine,
    updateTaskStatus,
    getAllocateListByTask,
    getAllocateInfo,
    importStoreExcel, //excel
    createTaskMedia,
    taskMediaInfo,
    deleteTaskMedia,
    updateTaskMedia,
    getTaskDefineInfo,
    updateTaskDefine,
    cancelTask,
    getWebTaskCustList, //目标会员
    getCustFeedback, //获取会员反馈
    createTypeConfig, //创建配置任务
    updateTypeConfig, //编辑配置任务
    updateConfigStatus,
    getTypeConfigList,
    getVoucherList, //获取优惠券列表接口
    getWeChatTemplateList, //公众号模板列表接口
    getWeChatGraphicMsgList, //公众号推文接口
    getPeopleList, //人群包接口

    // 任务3.0
    getRealTaskInfo,
    updateRealTask,
    getTaskCust
}